package com.hgz.persistence;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class ItemEntity {
	
		@PrimaryKey
		@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
		private Long id;
		@Persistent
		String name;//品名 
		@Persistent
		String minPrice;//最低价
		@Persistent
		String price ;//中间价
		@Persistent
		String maxPrice;//最高价
		@Persistent
		String gg;//规格
		@Persistent
		String dw;//单位
		@Persistent
		String date;//日期
		public String getName() {
			return name;
		}
		public void setName(String name) {
			this.name = name;
		}
		public String getMinPrice() {
			return minPrice;
		}
		public void setMinPrice(String minPrice) {
			this.minPrice = minPrice;
		}
		public String getPrice() {
			return price;
		}
		public void setPrice(String price) {
			this.price = price;
		}
		public String getMaxPrice() {
			return maxPrice;
		}
		public void setMaxPrice(String maxPrice) {
			this.maxPrice = maxPrice;
		}
		public String getDw() {
			return dw;
		}
		public void setDw(String dw) {
			this.dw = dw;
		}
		public String getDate() {
			return date;
		}
		public void setDate(String date) {
			this.date = date;
		}
		public String getGg() {
			return gg;
		}
		public void setGg(String gg) {
			this.gg = gg;
		}
		 

}
